﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HCFramework.Product.Detail
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                API.LINQ.Product product = C.ProductController.GetByID(M.UrlQuery.productID.Value);
                this.Title = product.ProductName;
                ListImage1.BindImages(product);
                CommonInfo1.BindData(product);
                //PropertyInfo1.BindData(product);
                Description1.BindData(product);
            }
        }
    }
}